<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
    <title>{$web_setting.web_name}</title>
    <meta name="description" content="{$seo_setting.description}"/>
    <meta name="keywords" content="{$seo_setting.keywords}"/>
    <link rel="stylesheet" href="__COMMON__/lib/layui/css/layui.css">
    <link rel="stylesheet" href="__INDEX__/css/index.css">
</head>
<body>
<!-- 侧边内容 -->
<div class="sidebar-content">
    <div class="layui-card">
        <div class="layui-card-header">
            {empty name="web_setting.web_logo" }
            <img src="__INDEX__/img/100.jpg" alt="{$web_setting.web_name}"><br/>
            {else /}
            <img src="{$web_setting.web_logo}" alt="{$web_setting.web_name}"><br/>
            {/empty}
            <span>{$web_setting.web_name}</span>
        </div>
        <div class="layui-card-body">
            <ul>
                <li class="txt">
                    <span>{$article_count}</span><br/>
                    <span>文章</span>
                </li>
                <li class="item">
                    <span>{$works_count}</span><br/>
                    <span>项目</span>
                </li>
                <li class="visitors">
                    <span id="hits" >
                        <script type="text/javascript" src="//quote.51.la/q?id=20024633&mb=5"></script>
                    </span><br/>
                    <span>{$Think.lang.hit_num}</span>
                </li>
            </ul>
        </div>
    </div>
    {include file="common/nav"}
</div>

<!-- 右侧内容区域 -->

<!-- 主要内容 -->
    {__CONTENT__}


{include file="common/search"}

{include file="common/footer"}
<script>
    $('#hits').text($('#hits').text().trim().replace(/[^0-9]/ig,""));
</script>
</body>
</html>